In mathematics, the Jacobi curve is a representantion of an elliptic curve different than the usual one (Weierstrass equation). Sometimes it is used in cryptography instead of the Weierstrass form because it can provide a defence against simple and differential power analysis style (SPA) attacks; it is possible, indeed, to use the general addition formula also for doubling a point on an elliptic curve of this form: in this way the two operations become indistinguishable from some side-channel information.[1] The Jacobi curve offers also faster arithmetic compared to the Weierstrass curve.
The Jacobi curve can be of two types: the Jacobi intersection, that is given by an intersection of two surfaces, and the Jacobi quartic.
Contents |
Let be a field. An elliptic curve in the projective space over can be represented as the intersection of two quadric surfaces:
It is possible to define the Jacobi form of an elliptic curve as the intersection of two quadrics, using the following map applied to the usual Weierstrass curve , :
This map sends the point to the point that satisfies the following system of equations:
The map can be applied to an elliptic curve in the Weierstrass form with three points of order two: this means that the polynomial has three roots in the field . Suppose that the roots are , with , then the three points of order two are: (0,0), (-1,0), (-j,0) and the curve can, thus, be written as:
where is the "point at infinity", that is the neutral element in the group law.
The curve corresponds to the following intersection of surfaces in :
The "special case" is when j=0: the elliptic curve has a double point and thus it is singular.
S1 is obtained by applying to the transformation:
(See also The group law).
Given an elliptic curve, it is possible to do some "operations" between its points: for example one can add two points P and Q obtaining the point P+Q that belongs to the curve ; given a point P on the elliptic curve, it is possible to "double" P, that means find [2]P=P+P (the square brackets are used to indicate [n]P, the point P added n times), and also find the negation of P, that means find -P. In this way, the points of an elliptic curve forms a group. Adding and doubling formulas are useful also to compute [n]P, the nth multiple of a point P on an elliptic curve: this operation is considered the most in elliptic curve cryptography.
For S1, the neutral element of the group is the point , that is the image of by .
Given and , two points on , the coordinates of the point are:
These formulas are also valid for doubling: it sufficies to have . So adding or doubling points in are operations that both require 16 multiplications plus one multiplication by a constant ().
It is also possible to use the following formulas for doubling the point and find :
Using these formulas 8 multiplications are needed to double a point. However there are even more efficient “strategies” for doubling that require only 7 multiplications.[2] In this way it is possible to triple a point with 23 multiplications; indeed can be obtained by adding with with a cost of 7 multiplications for and 16 for [2]
Let the field , or . Consider the case:
Consider the points and : it is easy to verify that and belong to S1 (it is sufficient to see that these points satisfy both equations of the system S1).
Using the formulas given above for adding two points, the coordinates for , where are:
The resulting point is .
With the formulas given above for doubling, it is possible to find the point :
So, in this case .
Given the point in , its negation is
Given two affine points and , their sum is a point with coordinates:
These formulas are valid also for doubling with the condition .
There is another kind of coordinate system with which a point in the Jacobi intersection can be represented.
Given the following elliptic curve in the Jacobi intersection form:
the extended coordinates describe a point with the variables , where:
Sometimes these coordinates are used, because they are more convenient (in terms of time-cost) in some specific situations.
To have more information about the operations based on the use of these coordinates see http://hyperelliptic.org/EFD/g1p/auto-jintersect-extended.html
Let be a field. An elliptic curve in Jacobi quartic form can be obtained from a curve in the Weierstrass form with at least one point of order 2:
with .
Let be a root of , then P is a point of order 2 of the elliptic curve; let be the point at infinity.
The following transformation sends each point of to a point in the Jacobi coordinates ()
Applying to , one obtains a curve in of the following form:
where .
C' represents an elliptic curve in the Jacobi quartic form, in Jacobi coordinates.
The general form of a Jacobi quartic curve in affine coordinates is:
,
where often is assumed.
The neutral element of the group law of is the projective point .
Given two affine points and , their sum is a point , such that:
As in the Jacobi intersections, also in this case it is possible to use this formula for doubling as well.
Given two points and in , the coordinates for the point , where , are given in terms of and by the formulae:
One can use this formula also for doubling, with the condition that : in this way the point is obtained.
The number of multiplications required to add two points is 13 plus 3 multiplications by constants: in particular there are two multiplications by the constant and one by the constant .
There are some "strategies" to reduce the operations required for adding and doubling points: the number of multiplications can be decreased to 11 plus 3 multiplications by constants (see [4] section 3 for more details).
The number of multiplications can be reduced by working on the constants and : the elliptic curve in the Jacobi form can be modified in order to have a smaller number of operations for adding and doubling. So, for example, if the constant in C’ is significantly small, the multiplication by can be cancelled; however the best option is to reduce : if it is small, not only one, but two multiplications are neglected.
Consider an elliptic curve in the Weierstrass form in affine coordinates over the field , or , with and :
has a point of order 2: .
Applying the function to , the following elliptic curve in projective Jacobi quartic form is obtained:
where and .
Choosing two points and , it is possible to find their sum using the formulae for adding given above:
So .
Using the same formulae, the point is obtained:
so, .
The negation of a point is:
There are other systems of coordinates that can be used to represent a point in a Jacobi quartic: they are used to obtain fast computations in certain cases. For more information about the time-cost required in the operations with these coordinates see http://hyperelliptic.org/EFD/g1p/auto-jquartic.html
Given an affine Jacobi quartic
the Doubling-oriented XXYZZ coordinates introduce an additional curve parameter c satisfying
and they represent a point (x,y) as (X, XX, Y, Z, ZZ, R), such that:
the Doubling-oriented XYZ coordinates, with the same additional assumption (), represent a point (x,y) with (X, Y, Z) satisfying the following equations:
Using the XXYZZ coordinates there is no additional assumption, and they represent a point (x,y) as (X,XX,Y,Z,ZZ) such that:
while the XXYZZR coordinates represent (x,y) as (X,XX,Y,Z,ZZ,R) such that:
with the XYZ coordinates the point (x,y) is given by (X,Y,Z), with:
.
For more information about the running-time required in a specific case, see Table of costs of operations in elliptic curves.